﻿using System.Collections.Generic;

namespace SEIPropertyDataService.Entity.ViewModels
{
    /// <summary>
    /// 拟合回归-二元参数数据模型
    /// </summary>
    public class VM_DataGroupOfBinaryModel
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 数据类型key
        /// </summary>
        public string DataType { get; set; }
        /// <summary>
        /// 组分id数组
        /// </summary>
        public int[] ComponentIds { get; set; }
        /// <summary>
        /// 温度单位key
        /// </summary>
        public string TempUnit { get; set; }
        /// <summary>
        /// 压力单位key
        /// </summary>
        public string PresUnit { get; set; }
        /// <summary>
        /// 数据类型对应组分id
        /// </summary>
        public int PropComponentId { get; set; }
        /// <summary>
        /// 数据类型对应的数据列表项
        /// </summary>
        public List<VM_DataGroupItemOfBinaryModel> Items { get; set; }
    }
    /// <summary>
    /// 拟合回归-二元参数数据组子项
    /// </summary>
    public class VM_DataGroupItemOfBinaryModel
    {
        /// <summary>
        /// 用量
        /// </summary>
        public string Usage { get; set; }
        /// <summary>
        /// 温度值
        /// </summary>
        public double? TempValue { get; set; }
        /// <summary>
        /// 压力值
        /// </summary>
        public double? PresValue { get; set; }
        /// <summary>
        /// 数据类型对应值数组
        /// </summary>
        public double[] PropertyValue { get; set; }

    }
}
